<?php /* Smarty version 2.6.26, created on 2010-06-30 10:20:43
         compiled from home_left_ann.tpl */ ?>
<table width="240" border="0" cellspacing="0" cellpadding="0" id="table">
  <tr>
    <th height="35"><a href="#">&nbsp;&nbsp;>>网站公告</a></th>
  </tr>
  <tr>
    <td height="100px"><marquee direction="up" scrollamount="3" onmouseover=stop() onmouseout=start()><label>
    <?php unset($this->_sections['index']);
$this->_sections['index']['name'] = 'index';
$this->_sections['index']['loop'] = is_array($_loop=$this->_tpl_vars['annrows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['index']['show'] = true;
$this->_sections['index']['max'] = $this->_sections['index']['loop'];
$this->_sections['index']['step'] = 1;
$this->_sections['index']['start'] = $this->_sections['index']['step'] > 0 ? 0 : $this->_sections['index']['loop']-1;
if ($this->_sections['index']['show']) {
    $this->_sections['index']['total'] = $this->_sections['index']['loop'];
    if ($this->_sections['index']['total'] == 0)
        $this->_sections['index']['show'] = false;
} else
    $this->_sections['index']['total'] = 0;
if ($this->_sections['index']['show']):

            for ($this->_sections['index']['index'] = $this->_sections['index']['start'], $this->_sections['index']['iteration'] = 1;
                 $this->_sections['index']['iteration'] <= $this->_sections['index']['total'];
                 $this->_sections['index']['index'] += $this->_sections['index']['step'], $this->_sections['index']['iteration']++):
$this->_sections['index']['rownum'] = $this->_sections['index']['iteration'];
$this->_sections['index']['index_prev'] = $this->_sections['index']['index'] - $this->_sections['index']['step'];
$this->_sections['index']['index_next'] = $this->_sections['index']['index'] + $this->_sections['index']['step'];
$this->_sections['index']['first']      = ($this->_sections['index']['iteration'] == 1);
$this->_sections['index']['last']       = ($this->_sections['index']['iteration'] == $this->_sections['index']['total']);
?>
    <a id="a1" href="ann_view.php?anid=<?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['anid']; ?>
"><?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['title']; ?>
</a><br/><br/>
    <?php endfor; endif; ?>
    </label></marquee>
    </td>
  </tr>
  <tr>
    <th height="30">&nbsp;</th>
  </tr>
</table><br />
</div>
